home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Tools - Objects / MacApp / MacApp 3.0a2 / Libraries / Printing.r < prev    next >
Encoding:
Text File  |  1991-05-01  |  2.8 KB  |  200 lines  |  [TEXT/MPS ]

  1. /*
  2.     Printing.r
  3.     MacApp® Printing Resources
  4.     Copyright © 1986-1990 Apple Computer, Inc.  All rights reserved.
  5. */
  6.  
  7. /* • Auto-Include the requirements for this source */
  8. #ifndef __TYPES.R__
  9. #include "Types.r"
  10. #endif
  11.  
  12. #ifndef __MacAppTypes__
  13. #include "MacAppTypes.r"
  14. #endif
  15.  
  16. #define      phSpoolPrintDialog            257
  17. #define      phFinderPrintDialog        258
  18. #define      phNoPages                    251
  19. #define      phWhichDoc                    261
  20. #define      kPrinting                    131
  21.  
  22.  
  23. resource 'mem!' (kPrinting,
  24. #if qNames
  25.     "kPrinting",
  26. #endif
  27.     purgeable) {
  28.     43 * 1024,            // Add to temporary reserve
  29.     0,                    // Add to permanent reserve
  30.     0                    // Add to stack space
  31. };
  32.  
  33. resource 'DLOG' (phSpoolPrintDialog,
  34. #if qNames
  35.     "phSpoolPrintDialog",
  36. #endif
  37.     purgeable) {
  38.     {118, 62, 224, 366},
  39.     dBoxProc,
  40.     visible,
  41.     noGoAway,
  42.     0x0,
  43.     phSpoolPrintDialog,
  44.     ""
  45. #if SystemSevenOrLater
  46.     ,
  47.     centerMainScreen
  48. #endif
  49. };
  50.  
  51. resource 'DLOG' (phFinderPrintDialog,
  52. #if qNames
  53.     "phFinderPrintDialog",
  54. #endif
  55.     purgeable) {
  56.     {110, 32, 220, 398},
  57.     dBoxProc,
  58.     visible,
  59.     noGoAway,
  60.     0x0,
  61.     phFinderPrintDialog,
  62.     ""
  63. #if SystemSevenOrLater
  64.     ,
  65.     centerMainScreen
  66. #endif
  67. };
  68.  
  69. resource 'DLOG' (phWhichDoc,
  70. #if qNames
  71.     "phWhichDoc",
  72. #endif
  73.     purgeable) {
  74.     {1, 1, 2, 2},
  75.     dBoxProc,
  76.     visible,
  77.     noGoAway,
  78.     0x0,
  79.     phWhichDoc,
  80.     ""
  81. #if SystemSevenOrLater
  82.     ,
  83.     centerMainScreen
  84. #endif
  85. };
  86.  
  87. resource 'DITL' (phNoPages,
  88. #if qNames
  89.     "phNoPages",
  90. #endif
  91.     purgeable) {
  92.     {    /* array DITLarray: 3 elements */
  93.         /* [1] */
  94.         {60, 182, 80, 262},
  95.         Button {
  96.             enabled,
  97.             "OK"
  98.         };
  99.         /* [2] */
  100.         {10, 80, 50, 270},
  101.         StaticText {
  102.             enabled,
  103.             "This document has no pages within the re"
  104.             "quested range"
  105.         };
  106.         /* [3] */
  107.         {10, 20, 42, 52},
  108.         Icon {
  109.             enabled,
  110.             1
  111.         }
  112.     }
  113. };
  114.  
  115. resource 'DITL' (phSpoolPrintDialog,
  116. #if qNames
  117.     "phSpoolPrintDialog",
  118. #endif
  119.     purgeable) {
  120.     {    /* array DITLarray: 2 elements */
  121.         /* [1] */
  122.         {72, 24, 92, 84},
  123.         Button {
  124.             enabled,
  125.             "Cancel"
  126.         };
  127.         /* [4] */
  128.         {16, 24, 60, 280},
  129.         StaticText {
  130.             disabled,
  131.             "“<<<>>>” is now being printed."
  132.         }
  133.     }
  134. };
  135.  
  136. resource 'DITL' (phFinderPrintDialog,
  137. #if qNames
  138.     "phFinderPrintDialog",
  139. #endif
  140.     purgeable) {
  141.     {    /* array DITLarray: 3 elements */
  142.         /* [1] */
  143.         {72, 16, 92, 76},
  144.         Button {
  145.             enabled,
  146.             "Cancel"
  147.         };
  148.         /* [4] */
  149.         {72, 96, 92, 246},
  150.         Button {
  151.             enabled,
  152.             "Cancel All Printing"
  153.         };
  154.         /* [5] */
  155.         {16, 50, 60, 330},
  156.         StaticText {
  157.             disabled,
  158.             "“<<<>>>” is now being printed."
  159.         }
  160.     }
  161. };
  162.  
  163. resource 'DITL' (phWhichDoc,
  164. #if qNames
  165.     "phWhichDoc",
  166. #endif
  167.     purgeable) {
  168.     {    /* array DITLarray: 1 elements */
  169.         /* [1] */
  170.         {0, 0, 0, 0},
  171.         UserItem {
  172.             disabled
  173.         }
  174.     }
  175. };
  176.  
  177. resource 'ALRT' (phNoPages,
  178. #if qNames
  179.     "phNoPages",
  180. #endif
  181.     purgeable) {
  182.     {100, 120, 190, 392},
  183.     phNoPages,
  184.     {    /* array: 4 elements */
  185.         /* [1] */
  186.         OK, visible, silent;
  187.         /* [2] */
  188.         OK, visible, silent;
  189.         /* [3] */
  190.         OK, visible, silent;
  191.         /* [4] */
  192.         OK, visible, silent
  193.     }
  194. #if SystemSevenOrLater
  195.     ,
  196.     alertPositionMainScreen
  197. #endif
  198. };
  199.  
  200.